from Common.connect_to_device import *
from PageLocators.Arc_Base_locator import Arc_Base_Locator  # 替换为你自己的模块路径

# 岚图版本元素定位器（继承基础类，仅重写改动内容）
class LanTu_Locator(Arc_Base_Locator):
    # ****************首页元素main******************
    # 首页频道栏
    main_tab_loc = f'(resourceId="{package_name}:id/vertical_layout")'
    # 首页进入搜索页面按钮
    main_enter_search_Loc = f'(resourceId="{package_name}:id/ns_btn_search")'
    # 首页进入历史页面按钮
    main_enter_history_Loc = None
    # 首页进入个人中心页面按钮
    main_enter_mine_Loc = f'(resourceId="{package_name}:id/btn_personal")'
    # 风云榜按钮
    main_fengyun_loc = f'(resourceId="{package_name}:id/tv_channel_title")'
    # 置顶按钮
    main_top_loc = None
    # 置顶按钮坐标（新增）
    main_top_point_loc = (0.96, 0.83)

    # ****************搜索页面元素search******************
    # 搜索页搜索
    search_tv_search_loc = f'(resourceId="{package_name}:id/iv_search")'

